package com.qqt.csr.archive.entity.reader;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qqt.csr.archive.entity.reader.item.AccountExtItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author: yang hao
 * @Date: 2024/11/20 9:04
 * @Description: 人工客服 账户信息
 **/
@Data
@Schema(description = "人工客服 账户信息")
@TableName(value = "csr_im_account")
public class CsrImAccount implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "客服名称")
    private String accountName;

    @Schema(description = "客服头像")
    private String headImg;

    @Schema(description = "客服扩展字段")
    @TableField(value = "ext")
    private String extJson;

    @TableField(exist = false)
    private AccountExtItem ext;

    @Schema(description = "客服userId")
    private String accountUserId;
}
